package com.yun.blog.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yun.blog.bean.TagRelation;
import com.yun.blog.dao.TagRelationMapper;
import com.yun.blog.service.TagRelationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TagRelationServiceImpl
        extends ServiceImpl<TagRelationMapper, TagRelation>
        implements TagRelationService {

    @Resource
    TagRelationMapper tagRelationMapper;

    @Override
    public int delByBlogId(Integer blogId) {
        return tagRelationMapper.delByBlogId(blogId);
    }
}
